﻿using IntelligentStorWpfApp.Interface;
using IntelligentStorWpfApp.Model;
using IntelligentStorWpfApp.Services;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace IntelligentStorWpfApp.Helper
{
    public static class LogHelper
    {
        private static OperationLogInterface opInterface = new OperationLogServices();
        public static void AddLog(string message)
        {
            opInterface.AddLog(new OperationLog() { UserName = App.user.UserName, OperatTime = DateTime.Now, Actions = message });
        }
    }
}
